 function Unit(x,y,isMine){
     //在新游戏时就已经布置好的内容
     //玩家无法改变
    this.position =  [x,y];
    this.isMine = isMine;
    this.isCover = true;
    this.nearMinesCount = 0;
 }
var gV = {
     columnCount : 10,
     rowCount: 10,
     minesCount : 10
}

 Unit.prototype = {
     constructor: Unit,
     disclose : function(){

     },
     detective : function(){

     }
 }

 function startGame() {
    var minesPositionArrays,x,y
    for(var i = 0 ; i < gV.minesCount; i++){
        x = parseInt(Math.random()*9);
        y = parseInt(Math.random()*9);
        if(typeof minesPositionArrays !== "undefined"){
            for(var j = 0; j < minesPositionArrays.length; j++){

            }
        }

    }
 }
